using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using ECommerce.Library.Web;
using System.Collections;

/// <summary>
/// Summary description for BaseMaster
/// </summary>

namespace ECommerce.Library.Web
{
    public class BaseMaster : System.Web.UI.MasterPage
    {
        public BaseMaster() {}

        public string ResponseMessage
        {
            set
            {
                Label lblMessage = (Label)FindControl("lblMessage");
                if (lblMessage != null)
                    lblMessage.Text = value;
            }
        }

        public String SupplierId
        {
            get
            {
                try
                {

                    return Page.RouteData.Values["partnerId"].ToString();
                }
                catch
                {
                    return string.Empty;
                }
            }
        }

       
    }
}
